<?php

/* User logged in. 'Ya know.. */

//add the frontend_app stylesheet and js, which is used by the actual word-guessing app
add_action( 'wp_print_styles', 'add_frontend_app_css' );
add_action( 'wp_print_scripts', 'add_frontend_app_js' );

//THEN display the header. hehe
get_header();

//get some user info
global $current_user;
get_currentuserinfo();
?>

<div class="content">
	
	<noscript><?php _e( "You need Javascript enabled to use WPWT. Please enable Javascript or upgrade to a browser which supports it." , 'wordpress-word-trainer'); ?></noscript>

</div>

<div class="loader"></div>

<?php get_footer(); ?>